﻿using Harmontronics.Model.Dto;
using Harmontronics.Model.Dto.Model;
using Harmontronics.Model.Entitys;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Harmontronics.IService.Business
{
    public interface IMaterialService
    {
        public List<MaterialModel> MendingRange(List<Material> entities);
        public MaterialModel Mending(Material entity);
        //查询
        public List<Material> GetAllMaterials();
        public Material GetMaterialById(string id);
        public bool AddMaterial(MaterialEdit edit);
        public bool UpdateMaterial(MaterialEdit model);
        public bool DeleteMaterial(string id);
        public bool BatchDelMaterial(List<string> ids);
    }
}
